package cn.byapps.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import cn.byapps.dao.UserDao;
import cn.byapps.db.Data;
import cn.byapps.entity.User;

@Repository
public class UserDaoImpl  implements UserDao{

	public int getTotal() {
		return Data.getCount();
	}

	public List<User> getList(int page, int size) {
		return Data.getList(page, size);
	}

}
